package no.zsoft.faktura.admin.repository;

import java.util.List;

import no.zsoft.faktura.admin.domain.Authority;
import no.zsoft.faktura.admin.domain.UserRole;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRoleRepository extends CrudRepository<UserRole, Long>{
	
	public List<UserRole> findByAuthority(Authority authority);
}
